package com.oracle.dao;

import com.oracle.entity.User;

import java.util.ArrayList;
import java.util.List;

public class UserDao {
    private List<User> list=new ArrayList<User>();
    public UserDao() {
        list.add(new User(1,"bookname1","author1","xinli","东方出版社",55,48,10));
        list.add(new User(2,"bookname2","author2","xinli","东方出版社",55,48,10));
        list.add(new User(3,"bookname3","author3","xinli","东方出版社",55,48,10));
        list.add(new User(4,"bookname4","author4","xinli","东方出版社",55,48,10));
        list.add(new User(5,"bookname5","author5","xinli","东方出版社",55,48,10));

    }

    public List<User> getList() {
        return list;
    }

    public void setList(List<User> list) {
        this.list = list;
    }
}
